import React from "react";
import './style/index.scss'
import { useSelector } from "react-redux";
import type { RootState } from "../../../store";

const Footer: React.FC = () => {
  const {themeConfig} = useSelector((state: RootState) => state.global)
  return (
    <>
      {
        !themeConfig.footer && (
          <div className="footer-box">
            <a href="void"> 2024 © 版权所有 React-Admin By codeShi </a>
          </div>
        )
      }
    </>
  )
}

export default Footer;